/**
 * 系统登陆相关接口
 */
import request from "@/request";

// 获取探区列表
export const getBasinList = () => request.get('/getBasinList')
// 获取验证码
export const getCaptcha = () => request.getBlob('/getCaptcha');
// 系统登陆
export const login = loginForm => request.post('/login', loginForm)
// 退出登录
export const logout = () => request.post('/logout', {})
// 获取当前用户拥有的权限点
export const getUserAuthorityList = params => request.post("/user/userAuthorityList", params)

// 统一登录认证
export const uniteLogin = loginForm => request.post('/OceanIAM/authenticate', loginForm)